//
//  WCNewStepSheetController.h
//  WabbitCode
//
//  Created by William Towe on 4/16/09.
//  Copyright 2009 Revolution Software. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "WCBuildStep.h"


@class WCBuildTarget, WCBuildTargetGetInfoWindowController;

@interface WCNewStepSheetController : NSWindowController {
	IBOutlet NSPopUpButton *_typePopUpButton;
	
	WCBuildTarget *_buildTarget;
	WCBuildStep *_originalBuildStep;
	WCBuildTargetGetInfoWindowController *_getInfoWindowController;
	NSString *_name;
	NSString *_filePath;
	WCBSStepType _type;
}
@property (readwrite, assign) WCBuildTarget *buildTarget;
@property (readwrite, assign) WCBuildStep *originalBuildStep;
@property (readwrite, assign) WCBuildTargetGetInfoWindowController *getInfoWindowController;
@property (readwrite, copy) NSString *name;
@property (readwrite, copy) NSString *filePath;
@property (readwrite, assign) WCBSStepType type;

- (IBAction)chooseFilePath:(id)sender;

+ (void)presentAddStepSheetForBuildTarget:(WCBuildTarget *)target forGetInfoWindowController:(WCBuildTargetGetInfoWindowController *)getInfoWindowController;
+ (void)presentEditStepSheetForBuildTarget:(WCBuildTarget *)target originalBuildStep:(WCBuildStep *)step forGetInfoWindowController:(WCBuildTargetGetInfoWindowController *)getInfoWindowController;
@end
